package practice;

import private1.Day;

public class AccountPractTester {
    public static void main(String[] args) {
        Day d=new Day(2017,1,5);
        AccountPract zhangcb=new AccountPract("张三","88888",99999,d);


      Day y= zhangcb.getOpendate();
        System.out.println("银行的开户日期："+zhangcb.getOpendate());
       y.set(1999,1,15);
      Day z= zhangcb.getOpendate();
        System.out.println("银行的开户日期："+zhangcb.getOpendate());
        System.out.println("姓名："+zhangcb.getName());
        System.out.println("账号："+zhangcb.getNo());
        System.out.println("可用余额："+zhangcb.getbalance()+"人民币");
//        System.out.println(zhangcbdate);
    }
}
